package com.weimob.mcloud.wechatwork.customer.service.user.module.bo.group;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.weimob.mcloud.wechatwork.common.support.codec.serializer.LongSerializer;
import lombok.Data;

import java.io.Serializable;

/**
 * 客户所属群聊列表
 * @Date: 2021/1/27 11:27
 */
@Data
public class CustomerChatGroupBO implements Serializable {

    private static final long serialVersionUID = -1828876142980023281L;

    /**
     * 群ID
     */
    private String chatId;

    /**
     * 群名
     */
    private String name;

    /**
     * 群主
     */
    private String owner;

    /**
     * 群主名称
     */
    private String ownerName;

    /**
     * 群人数(总数)
     */
    private Integer num;

    /**
     * 客户最新进群时间
     */
    @JsonSerialize(using = LongSerializer.class)
    private Long joinTime;

    /**
     * 群创建时间
     */
    @JsonSerialize(using = LongSerializer.class)
    private Long groupCreateTime;

    /**
     * 是否绑定导购
     */
    private Boolean haveBindGuide = false;

}
